import request from '@/utils/request'

//  获取物业费列表
export function getPropetyListAPI(obj) {
  return request({
    url: '/park/propertyfee',
    method: 'GET',
    params: obj
  })
}

//  新增物业费账单
export function addPropetyAPI(obj) {
  return request({
    url: '/park/propertyfee',
    method: 'POST',
    data: obj
  })
}

export function delPropetyAPI(id) {
  return request({
    url: '/park/propertyfee/' + id,
    method: 'DELETE'
  })
}

export function editPropetyAPI(obj) {
  return request({
    url: '/park/propertyfee',
    method: 'PUT',
    data: obj
  })
}
